.class Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1;
.super Lcom/zuiapps/sdk/analytics/api/MyJsonHttpResponseHandler;
.source "BaseZMMobAgent.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;


# direct methods
.method constructor <init>(Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;)V
    .registers 2
    .param p1, "this$1"    # Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;

    .prologue
    .line 58
    iput-object p1, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1;->this$1:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;

    invoke-direct {p0}, Lcom/zuiapps/sdk/analytics/api/MyJsonHttpResponseHandler;-><init>()V

    return-void
.end method


# virtual methods
.method public onFailure(I[Lorg/apache/http/Header;Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/Object;)V
    .registers 8
    .param p1, "arg0"    # I
    .param p2, "arg1"    # [Lorg/apache/http/Header;
    .param p3, "arg2"    # Ljava/lang/Throwable;
    .param p4, "paramString"    # Ljava/lang/String;
    .param p5, "obj"    # Ljava/lang/Object;

    .prologue
    .line 82
    iget-object v0, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1;->this$1:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;

    iget-object v0, v0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;->this$0:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;

    iget-object v0, v0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;->val$mContext:Landroid/content/Context;

    iget-object v1, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1;->this$1:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;

    iget-object v1, v1, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;->this$0:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;

    iget-object v1, v1, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;->val$eventJsonStr:Ljava/lang/String;

    # invokes: Lcom/zuiapps/sdk/analytics/BaseZMMobAgent;->saveAnalyticsData(Landroid/content/Context;Ljava/lang/String;)V
    invoke-static {v0, v1}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent;->access$000(Landroid/content/Context;Ljava/lang/String;)V

    .line 83
    return-void
.end method

.method public onSuccess(I[Lorg/apache/http/Header;Ljava/lang/String;Ljava/lang/Object;)V
    .registers 8
    .param p1, "arg0"    # I
    .param p2, "arg1"    # [Lorg/apache/http/Header;
    .param p3, "paramString"    # Ljava/lang/String;
    .param p4, "obj"    # Ljava/lang/Object;

    .prologue
    .line 62
    if-eqz p4, :cond_27

    instance-of v1, p4, Ljava/lang/Boolean;

    if-eqz v1, :cond_27

    .line 63
    check-cast p4, Ljava/lang/Boolean;

    .end local p4    # "obj":Ljava/lang/Object;
    invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    .line 64
    .local v0, "isSucc":Z
    if-eqz v0, :cond_17

    .line 65
    new-instance v1, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1$1;

    invoke-direct {v1, p0}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1$1;-><init>(Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1;)V

    .line 71
    invoke-virtual {v1}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1$1;->start()V

    .line 78
    .end local v0    # "isSucc":Z
    :goto_16
    return-void

    .line 73
    .restart local v0    # "isSucc":Z
    :cond_17
    iget-object v1, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1;->this$1:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;

    iget-object v1, v1, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;->this$0:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;

    iget-object v1, v1, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;->val$mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1;->this$1:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;

    iget-object v2, v2, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;->this$0:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;

    iget-object v2, v2, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;->val$eventJsonStr:Ljava/lang/String;

    # invokes: Lcom/zuiapps/sdk/analytics/BaseZMMobAgent;->saveAnalyticsData(Landroid/content/Context;Ljava/lang/String;)V
    invoke-static {v1, v2}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent;->access$000(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_16

    .line 76
    .end local v0    # "isSucc":Z
    .restart local p4    # "obj":Ljava/lang/Object;
    :cond_27
    iget-object v1, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1;->this$1:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;

    iget-object v1, v1, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;->this$0:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;

    iget-object v1, v1, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;->val$mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1$1;->this$1:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;

    iget-object v2, v2, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1$1;->this$0:Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;

    iget-object v2, v2, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$1;->val$eventJsonStr:Ljava/lang/String;

    # invokes: Lcom/zuiapps/sdk/analytics/BaseZMMobAgent;->saveAnalyticsData(Landroid/content/Context;Ljava/lang/String;)V
    invoke-static {v1, v2}, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent;->access$000(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_16
.end method

.method protected parseResponse(Ljava/lang/String;Z)Ljava/lang/Object;
    .registers 6
    .param p1, "paramString"    # Ljava/lang/String;
    .param p2, "isFailure"    # Z
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Throwable;
        }
    .end annotation

    .prologue
    .line 87
    const-string v0, ""

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "RESULT="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/zuiapps/sdk/analytics/util/ZMLogUtil;->e(Ljava/lang/String;Ljava/lang/String;)V

    .line 88
    invoke-static {p1}, Lcom/zuiapps/sdk/analytics/parse/BaseAnalyticsParse;->parse(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method
